package com.example.snashuitraverl.demos.service;

import com.example.snashuitraverl.demos.domain.Chatai;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.snashuitraverl.demos.domain.Do.AiDo;
import org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
* @author 32551
* @description 针对表【chatai】的数据库操作Service
* @createDate 2024-08-16 12:28:59
*/
public interface ChataiService extends IService<Chatai> {

    String useChat(String message,String opneId);

    Map<String,String> selectAll();

    Map<String, String> selectopenId(String openId);

    List<AiDo> selectByList(String openId);

    ResponseBodyEmitter chats(String message);
}
